<%-------------------------------------------------------------------
 * 页面名称：unLogHistorySerach.jsp
 * 功能描述：未登录公共事业费查询
 * Action: queryUnLog.do
 *
 *-------------------------------------------------------------------
--%>
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="ad" uri="agiledata"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-tiles.tld" prefix="tiles"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/conf/tld/struts-bean.tld" prefix="bean"%>
<%
	String path = request.getContextPath();
%>
<html>
<head>
<title>公共事业缴费</title>
<meta name="keywords" content="公共事业网上缴费" />
<meta name="description" content="公共事业费 、公共事业网上缴费、水费、电费、煤气费、天燃气、手机费、" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="<%=path%>/page/information/css/style.css" rel="stylesheet" type="text/css" />
<link href="<%=path%>/page/information/css/font.css" rel="stylesheet" type="text/css" />
<link href="<%=path%>/css/newstyle.css" rel="stylesheet" type="text/css" />
<link href="<%=path%>/css/common.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%=path%>/js/vnv/commonForManage.js"></script>
<script type="text/javascript" src="<%=path%>/js/vnv/commonForMutual.js.js"></script>
<SCRIPT LANGUAGE="JavaScript">
<!--
	function fSubmit() {
		// 提交校验
		var objFrm = document.barCodePayForm;
		// 判断条形码
		if(checkNecessaryInput(objFrm)){
			if(!onlyNumber(document.getElementById("code").value)) {
				alert('条形码只能是数字！');
				document.getElementById("code").focus();
			}
			else {
				return true;
			}
		}
		else {
			document.getElementById("code").focus();
		}

		return false;
	}
//-->
</SCRIPT>
</head>
<body>
<!-- 页头菜单 -->
<jsp:include page="/page/information/head.jsp?currentFunc=publicfee"/>
<!--主内容-->
<div id="content2">
<!-- 左侧菜单 -->
<jsp:include page="/page/barcodepay/left.jsp"/>
<html:form action="/queryUnLog.do" onsubmit="return fSubmit();">
   <div class="content_right">
     <div class="path_info">   <img src="<%=path%>/page/information/images/home_icon.gif" />  <a href="<%=path%>/main.do" class="bluefont12">首页</a>>> <a href="#" class="bluefont12">公共事业</a></div>
	 <div class="public_intro"><span class="backfont14t">缴费历史查询</span></div>
	 <div class="public_search">
		请输入条形码： <html:text property="code" maxlength="50" size="45" onblur="killSpace(this);" alt="条形码"></html:text>　
       <input name="submit" type="submit" class="graybutton_style"  value="查 询"/>
	</div>
	 <div class="public_table">
	 <logic:notEmpty name="detail">
	   <table width="100%" class="tablestyle">
         <tr>
			<th>缴费类型</td>
			<th>公司</td>
			<th>帐单月份</td>
		  <th>缴费状态</td>		  
         </tr>
        <tr>
          <td style="text-align:center;"><bean:write name="detail" property="barCodePayCorp.barCodePayType.name"/></td>
          <td style="text-align:center;"><bean:write name="detail" property="barCodePayCorp.name"/></td>
          <td style="text-align:center;"><bean:write name="detail" property="chargeDate" format="yyyy-MM"/></td>
          <td style="text-align:center;"><ad:TypeChange typeId="USER_BARCODEPAY_STATUS" ><bean:write name="detail" property="payfeeStatus"/></ad:TypeChange></td>
          </tr>
        <tr>
          <th>缴费时间
            </td>
          
          <th>条形码
              </td>
          <th>金额
            </td>
          <th>打印
              </td>          </tr>
        <tr>
          <td style="text-align:center;"><bean:write name="detail" property="payFeeDate" format="yyyy-MM-dd"/></td>
          <td style="text-align:center;"><bean:write name="detail" property="barCode"/></td>
          <td style="text-align:center;color:#ff0000;"><bean:write name="detail" property="amount"/></td>
          <td style="text-align:center;color:#003466;"><logic:equal name="detail" property="payfeeStatus" value="1"> <a href="#" style="color:#003466;" onclick="javascript:window.open('<%=path%>/page/barcodepay/printBarCodePayDetail.do?orderId=<bean:write name="detail" property="payFeeNo" />')" ><img src="<%=path%>/page/information/images/print_icon.gif" border="0" align="absmiddle"/> 打印</a> </logic:equal>          </td>
          </tr>
        </logic:notEmpty>
       </table>
	 </div>
	
	</div>
</html:form>
 <div style="clear:both;"></div>
</div>
<!-- 页尾菜单 -->
<jsp:include page="/page/information/foot.jsp"/>
</body>
</html>
